Quote all calls to "auxiliary skeleton"s to prevent infloops.
authorGlenn Morris <rgm@gnu.org>
Sun, 20 Jan 2008 04:00:43 +0000 (04:00 +0000)
committerGlenn Morris <rgm@gnu.org>
Sun, 20 Jan 2008 04:00:43 +0000 (04:00 +0000)
lisp/progmodes/python.el

index c82a55ace8e531d5a809c99731ad7cb64ba588c7..ae863df3b5dc366b792b75245069b74fb1c32e84 100644 (file)
@@ -2052,7 +2052,7 @@ The default contents correspond to the elements of `python-skeletons'.")
    <                   ; Avoid wrong indentation after block opening.
    "elif " str ":" \n
    > _ \n nil)
-  (python-else) | ^)
+  '(python-else) | ^)
 
 (define-skeleton python-else
   "Auxiliary skeleton."
@@ -2066,24 +2066,24 @@ The default contents correspond to the elements of `python-skeletons'.")
   "Condition: "
   "while " str ":" \n
   > _ \n
-  (python-else) | ^)
+  '(python-else) | ^)
 
 (def-python-skeleton for
   "Target, %s: "
   "for " str " in " (skeleton-read "Expression, %s: ") ":" \n
   > _ \n
-  (python-else) | ^)
+  '(python-else) | ^)
 
 (def-python-skeleton try/except
   nil
   "try:" \n
   > _ \n
   ("Exception, %s: "
-   < "except " str (python-target) ":" \n
+   < "except " str '(python-target) ":" \n
    > _ \n nil)
   < "except:" \n
   > _ \n
-  (python-else) | ^)
+  '(python-else) | ^)
 
 (define-skeleton python-target
   "Auxiliary skeleton."